package tst.bsi;

import java.util.Date;

import indi.zjh.dp.orm.Business;
import indi.zjh.dp.orm.Relation;

public class Activity extends Business {
	protected String name = "无";
	protected Date start = new Date();
	protected Date end = new Date();
	protected int score = 0;
	protected Relation schedule = new Relation(Schedule.class);
	public Date getStart() {
		return start;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setStart(Date start) {
		this.start = start;
	}
	public Date getEnd() {
		return end;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public Relation getSchedule() {
		return schedule;
	}
	@Override
	public String toString() {
		return "Activity [name=" + name + ", start=" + start + ", end=" + end
				+ ", score=" + score + ", schedule=" + schedule + ", _id="
				+ _id + "]";
	}
	
}
